package com.xqboss.apps.enums.market;


import com.xqboss.common.enums.BaseEnum;

/**
 * 市场状态
 *
 * @author Administrator
 */
public enum MarketStatusEnum implements BaseEnum<Integer> {
    TRADING(1, "转卖中"),
    SOLD_OUT(2, "已售完"),
    CANCEL(3, "已取消"),
    TRADE(4, "交易中"),
    ;

    private final Integer value;
    private final String msg;

    MarketStatusEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}
